package org.user.service;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/user")
public class UserController {
	
    @GetMapping("/hi")
    public String hi(){
        return "I'm yum";
    }
    
    @PostMapping("/hi")
    public String posthi(){
        return "I'm yum of post";
    }
}
